package com.qcl.bean;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;

import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.data.annotation.CreatedDate;
import org.springframework.data.annotation.LastModifiedDate;
import org.springframework.data.jpa.domain.support.AuditingEntityListener;
import org.springframework.format.annotation.DateTimeFormat;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.persistence.Entity;
import javax.persistence.EntityListeners;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;

/**
 * @Description: 消息发送
 * @Author: jeecg-boot
 * @Date:   2020-08-14
 * @Version: V1.0
 */
@Data
@Entity
@EntityListeners(AuditingEntityListener.class)
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
//@ApiModel(value="missage_send_log对象", description="消息发送")
public class MissageSendLog implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
    @Id
    @GeneratedValue
    private Integer id;

	/**创建人*/
    private String createBy;

	/**创建日期*/

	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @CreatedDate//自动添加创建时间的注解
    private Date createTime;

	/**更新人*/
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @LastModifiedDate//自动添加更新时间的注解
    private Date updateTime;
	/**所属部门*/
    private java.lang.String sysOrgCode;
	/**菜品数量*/
    private java.lang.Integer cuisineNum;
	/**消息内容*/
    private java.lang.String missageDetails;
	/**财务电话*/
    private java.lang.String accountingDepartment;
	/**饭店电话*/
    private java.lang.String restaurantPhone;
}
